extends ../layout

block main
	ul.breadcrumb
		li
			i.icon-home
		li
			i.icon-angle-right
		li
			a(href="/") 面板
		li
			i.icon-angle-right
		li
			a(href="/merchants") 商户


	div(class="row-fluid sortable")
		div(class="box span12")
			div(class="box-header", data-original-title)
				h2
					i(class="halflings-icon user")
					span.break
					| 商户

			div.box-content
				table(class="table table-striped table-bordered bootstrap-datatable")
					tbody
						tr
							td LOGO
							td
								img(src="#{merchant.get('logo')}", width=50, height=50)
						tr
							td 商户名
							td= merchant.get('name')
						tr
							td 地址
							td= merchant.get('address')
						tr
							td 微信帐号
							td= merchant.get('wx_mchid')
